package com.web.bean.remark;

import java.util.Date;

/**
 * @autor Chen
 * @create 2021--25-12:41
 * @desc
 */
public class Remark {
    /*评论id*/
    private String rid;
    /*书籍id*/
    private String nid;
    /*用户id*/
    private String uid;
    /*评论时间*/
    private Date rmtime;
    /*评论内容*/
    private String content;
    /*评论章节*/
    private String chapterid;
    /*type:1为章节评论，2为小说总评*/
    private String type;
    /*回复数*/
    private String replyCount;
    public Remark() {
    }

    public String getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(String replyCount) {
        this.replyCount = replyCount;
    }

    public Remark(String rid, String nid, String uid, Date rmtime, String content, String chapterid, String type, String replyCount) {
        this.rid = rid;
        this.nid = nid;
        this.uid = uid;
        this.rmtime = rmtime;
        this.content = content;
        this.chapterid = chapterid;
        this.type = type;
        this.replyCount=replyCount;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getNid() {
        return nid;
    }

    public void setNid(String nid) {
        this.nid = nid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Date getRmtime() {
        return rmtime;
    }

    public void setRmtime(Date rmtime) {
        this.rmtime = rmtime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getChapterid() {
        return chapterid;
    }

    public void setChapterid(String chapterid) {
        this.chapterid = chapterid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Remark{" +
                "rid='" + rid + '\'' +
                ", nid='" + nid + '\'' +
                ", uid='" + uid + '\'' +
                ", rmtime=" + rmtime +
                ", content='" + content + '\'' +
                ", chapterid='" + chapterid + '\'' +
                ", type='" + type + '\'' +
                ", replyCount='" + replyCount + '\'' +
                '}';
    }
}
